package polymorphic;

/**
 * Created with IntelliJ IDEA.
 * ClassName: Man
 * Package: polymorphic
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-11-22
 * Time: 18:09
 */

public class Man extends Person {

    boolean isSmoking;

    public void eat() {
        System.out.println("男人多吃肉 长肌肉");
    }

    public void walk() {
        System.out.println("男人笔挺的走路");
    }

    public void earnMoney() {
        System.out.println("男人挣钱养家");
    }

}
